<?php

namespace App\Http\Middleware;

use Kaxiluo\ApiSignature\Server\SignatureVerifyLaravelMiddleware;

class SignatureVerifyMiddleware extends SignatureVerifyLaravelMiddleware
{
    protected function getAppSecretByAppId($appId): string
    {
        return 'iamsecret';
    }

    protected function getCacheProvider()
    {
        return app('cache.store');
    }
}
